package userInterface;
import java.awt.*;
import java.util.List;
import java.util.LinkedList;

import javax.swing.*;
public class EnvironmentVariables {
	public static Color penColor;
	public static Color backgroundColor;
	public static MainPanel mainPanel;
	public static int consoleRows;
	public static int editorRows;
	public static int consoleColumns; 
	public static int editorColumns;
	public static boolean haveAnimation; //the switch to control whether there is animation
	public static double moveSpeed; //the move speed distance/freshPeriod
	public static double turnSpeed; // the turn speed angle/freshPeriod
	public static long freshPeriod;
	public static MainFrame mainFrame;
	public static double penWidth;
	public static List<LogoScriptEditorFrame> editorList;
	public static void init() {
        penColor=new Color(0,0,0);
        penWidth=2.0f;
        backgroundColor=new Color(255,255,255);
        consoleRows=1000;
        editorRows=80;
        consoleColumns=80;
        editorColumns=80;
        haveAnimation=true;
//      haveAnimation=false;
        moveSpeed=5;
        turnSpeed=5;
        freshPeriod=20;
        editorList=new LinkedList<LogoScriptEditorFrame>();
	}
}
